package com.chance.cc.crawler.prod.command.schedule.vm.bitauto;

import com.chance.cc.crawler.core.CrawlerJob;
import com.chance.cc.crawler.prod.command.job.domain.vm.bitauto.adhoc.BitAutoForumReplySimpleCrawlerSchedulerJob;
import com.chance.cc.crawler.prod.command.job.domain.vm.bitauto.adhoc.BitAutoWebHaoArticleAllSimpleCrawlerSchedulerJob;
import com.chance.cc.crawler.prod.command.schedule.CommonCrawlerJobSchedule;

/**
 * @author lt
 * @version 1.0
 * @date 2021-04-13 18:08:35
 * @email okprog@sina.com
 */
public class BitAutoSimpleCrawlerJobSchedule extends CommonCrawlerJobSchedule {

    public static void main(String[] args) {
//        simpleCrawlerScheduleJob(BitAutoArticleSimpleCrawlerJob.bitAutoScheduler(),device_name_5);
//        simpleCrawlerScheduleJob(BitAutoForumReplySimpleCrawlerSchedulerJob.bitAutoScheduler(),device_name_5);//车系页论坛按回复时间排序
//        simpleCrawlerScheduleJob(BitAutoHaoArticleSimpleCrawlerSchedulerJob.bitAutoScheduler(),device_name_5);
       // simpleCrawlerScheduleJob(BitAutoPraiseSimpleCrawlerSchedulerJob.bitAutoScheduler(),device_name_5);//车系页口碑临时采集
//        simpleCrawlerScheduleJob(BitAutoVideoSimpleCrawlerSchedulerJob.bitAutoScheduler(),device_name_5);
//        simpleCrawlerScheduleJob(BitAutoVideoArticleSimpleCrawlerSchedulerJob.bitAutoScheduler(),device_name_6);
        //四垂媒采集任务
       // simpleCrawlerScheduleJob(BitAutoSimpleRedisToRunCrawlerScheduleJob.Article(),device_name_5);//文章
       // simpleCrawlerScheduleJob(BitAutoSimpleRedisToRunCrawlerScheduleJob.video(),device_name_5);//视频
        //易车车系url临时采集
        //simpleCrawlerScheduleJob(BitAutoCarTypeSimpleCrawlerScheduleJob.bitAutoScheduler(),device_name_5);
       // simpleCrawlerScheduleJob(BitAutoSimpleRedisToRunCrawlerScheduleJob.Article(),device_name_5);
        //simpleCrawlerScheduleJob(BitAutoWebVideoTraceCrawlerSchedulerJob.bitAutoScheduler(),device_name_5);
       // simpleCrawlerScheduleJob(BitAutoWebArticleTraceCrawlerSchedulerJob.bitAutoScheduler(),device_name_5);
        //simpleCrawlerScheduleJob(BitAutoWebCarTypeCrawlerSchedulerJob.bitAutoScheduler(),device_name_5);
        //simpleCrawlerScheduleJob(BitAutoWebCarTypeCrawlerSchedulerJob.bitAutoScheduler(),device_name_5);


        simpleCrawlerScheduleJob(BitAutoWebHaoArticleAllSimpleCrawlerSchedulerJob.bitAutoScheduler(),device_name_5);
    }

    public static void simpleCrawlerScheduleJob(CrawlerJob crawlerJob,String device){
        crawlerJobScheduleCommand_17.republishCrawlerJob(crawlerJob.generateCrawlerTriggerKey(),device);
    }
}
